home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 1
/
SPACE - Library 1 - Volume 1.iso
/
program
/
385
/
arpbook1
/
traps.s
< prev
Wrap
Text File
|
1985-11-19
|
1KB
|
17 lines
The note just above the label "install_trap_0_routine:" should be replaced
with that shown below.
; NOTE: The system trap vectors may be referenced directly using "absolute
; addressing". Loading the starting value $80 in an address register
; and referencing all trap vectors as an offset to the starting value
; using "address register indirect with displacement addressing" is
; not really necessary. However, it is important to remember that both
; move.l An, d(Am) and move.l An, $xxx.W (the suffix .s is required by
; AssemPro--but the extension is not necessary because the assembler
; forces absolute short addressing when the address is word length)
; consumes 16 clock cycles during execution, but move.l An, $xxx.L
; consumes 20 clock cycles. Therefore, if a series of long addresses
; are to be referenced, the method shown here would be faster. See
; program CUSTOM.S for examples using absolute short addressing.